<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>6.声明弹性盒⼦的⼏种⽅式</title>
  <style>
    * {
      padding: 0;
      margin: 0;
    }

    footer {
      display: inline-flex;
      background: #000;
      height: 400px;
    }
  </style>
</head>

<body>
  <footer>
    <div>后盾人</div>
    <div>后盾人</div>
    <div>后盾人</div>
  </footer>
</body>

</html>